//!\file backtracer_log.h

#include <stdio.h>
#include <stdarg.h>

#include "errors.h"

//------------------------------------------------------------------------------

#ifndef _BACKTRACER_LOG_H_
#define _BACKTRACER_LOG_H_

//------------------------------------------------------------------------------

//! \brief Function for output log information
void LogPrintf(const char* format, ...);

//------------------------------------------------------------------------------

//! \brief Initialise logger with plog logfile
TBGError InitLog(FILE* plog);

//------------------------------------------------------------------------------

//! \bries Store log file descriptor in the static variable of this function
FILE* _LogGetSetPlogFile(FILE* f);

//------------------------------------------------------------------------------

#endif //_BACKTRACER_LOG_H 
